package com.askinhand.dao;
import java.util.List;

import com.askinhand.bean.FreshThings;

public interface IFreshThingsDAO {

	public abstract void save(FreshThings transientInstance);

	public abstract void delete(FreshThings persistentInstance);

	public abstract FreshThings findById(java.lang.Integer id);

	public abstract List findByExample(FreshThings instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByType(Object type);

	public abstract List findByTitle(Object title);

	public abstract List findByContent(Object content);

	public abstract List findByUid(Object uid);

	public abstract List findAll();

	public abstract FreshThings merge(FreshThings detachedInstance);

	public abstract void attachDirty(FreshThings instance);

	public abstract void attachClean(FreshThings instance);

}